package com.ddwl.schema.bo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @author Fu Zhaohui
 * @description 支付宝支付回调通知
 * @date 2015/1/26 0026
 */
@ApiModel(description = "支付宝支付回调通知Bo")
@Setter
@Getter
public class AliPayNotifyBo {

    @ApiModelProperty("通知的发送时间。 格式为 yyyy-MM-dd HH:mm:ss。")
    private String notify_time;
    @ApiModelProperty("通知的类型。")
    private String notify_type;
    @ApiModelProperty("通知校验ID.")
    private String notify_id;
    @ApiModelProperty("固定取值为 RSA。")
    private String sign_type;
    @ApiModelProperty("签名")
    private String sign;
    @ApiModelProperty("商户网站唯 一订单号")
    private String out_trade_no;
    @ApiModelProperty("商品名称")
    private String subject;
    @ApiModelProperty("支付类型")
    private String payment_type;
    @ApiModelProperty("支付宝交易号")
    private String trade_no;
    @ApiModelProperty("交易状态")
    private String trade_status;
    @ApiModelProperty("卖家支付宝 用户号")
    private String seller_id;
    @ApiModelProperty("卖家支付宝 账号")
    private String seller_email;
    @ApiModelProperty("买家支付宝 用户号")
    private String buyer_id;
    @ApiModelProperty("买家支付宝 账号")
    private String buyer_email;
    @ApiModelProperty("交易金额")
    private BigDecimal total_fee;
    @ApiModelProperty("购买数量")
    private int quantity;
    @ApiModelProperty("商品单价")
    private Double price;
    @ApiModelProperty("商品描述")
    private String body;
    @ApiModelProperty("交易创建时间")
    private String gmt_create;
    @ApiModelProperty("交易付款时间")
    private String gmt_payment;
    @ApiModelProperty("是否调整总价")
    private String is_total_fee_adjust;
    @ApiModelProperty("是否使用红 包买家")
    private String use_coupon;
    @ApiModelProperty("折扣")
    private String discount;
    @ApiModelProperty("退款状态")
    private String refund_status;
    @ApiModelProperty("退款时间")
    private String gmt_refund;
    @ApiModelProperty("返回状态码")
    private String return_code;
    @ApiModelProperty("返回状态信息")
    private String return_msg;

    private String batch_no;
    private String success_num;
    private String result_details;

    private String openid;
    private String result_code;
    private String err_code;
    private String err_code_des;
    private String transaction_id;
    private String trade_state;
    private String trade_state_desc;
}
